package cn.kimming.common.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 刘铭轩
 * date 2021-06-09
 */
@Data
public class ReserveItemDTO {

    /**
     * 预定房型ID
     */
    @NotNull(message = "请指定预定房型")
    private Long roomTypeId;

    /**
     * 预定数量
     */
    @NotNull(message = "请指定预定数量")
    private Integer quantity;

    private static final long serialVersionUID = 1L;

}
